package com.clover.framework.utils;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.slf4j.Marker;
/**
 * @Author masl - 2018/10/11 18:23
 */
public class LogUtils {

    private static Logger log = LoggerFactory.getLogger(LogUtils.class);

    public static String getName() {
        return log.getName();
    }

    public static boolean isTraceEnabled() {
        return log.isTraceEnabled();
    }

    public static void trace(String s) {
        log.trace(s);
    }

    public static void trace(String s, Object o) {
        log.trace(s, o);
    }

    public static void trace(String s, Object o, Object o1) {
        log.trace(s, o, o1);
    }

    public static void trace(String s, Object... objects) {
        log.trace(s, objects);
    }

    public static void trace(String s, Throwable throwable) {
        log.trace(s, throwable);
    }

    public static boolean isTraceEnabled(Marker marker) {
        return log.isTraceEnabled(marker);
    }

    public static void trace(Marker marker, String s) {
        log.trace(marker, s);
    }

    public static void trace(Marker marker, String s, Object o) {
        log.trace(marker, s, o);
    }

    public static void trace(Marker marker, String s, Object o, Object o1) {
        log.trace(marker, s, o, o1);
    }

    public static void trace(Marker marker, String s, Object... objects) {
        log.trace(marker, s, objects);
    }

    public static void trace(Marker marker, String s, Throwable throwable) {
        log.trace(marker, s, throwable);
    }

    public static boolean isDebugEnabled() {
        return log.isDebugEnabled();
    }

    public static void debug(String s) {
        log.debug(s);
    }

    public static void debug(String s, Object o) {
        log.debug(s, o);
    }

    public static void debug(String s, Object o, Object o1) {
        log.debug(s, o, o1);
    }

    public static void debug(String s, Object... objects) {
        log.debug(s, objects);
    }

    public static void debug(String s, Throwable throwable) {
        log.debug(s, throwable);
    }

    public static boolean isDebugEnabled(Marker marker) {
        return log.isDebugEnabled(marker);
    }

    public static void debug(Marker marker, String s) {
        log.debug(marker, s);
    }

    public static void debug(Marker marker, String s, Object o) {
        log.debug(marker, s, o);
    }

    public static void debug(Marker marker, String s, Object o, Object o1) {
        log.debug(marker, s, o, o1);
    }

    public static void debug(Marker marker, String s, Object... objects) {
        log.debug(marker, s, objects);
    }

    public static void debug(Marker marker, String s, Throwable throwable) {
        log.debug(marker, s, throwable);
    }

    public static boolean isInfoEnabled() {
        return log.isInfoEnabled();
    }

    public static void info(String s) {
        log.info(s);
    }

    public static void info(String s, Object o) {
        log.info(s, o);
    }

    public static void info(String s, Object o, Object o1) {
        log.info(s, o, o1);
    }

    public static void info(String s, Object... objects) {
        log.info(s, objects);
    }

    public static void info(String s, Throwable throwable) {
        log.info(s, throwable);
    }

    public static boolean isInfoEnabled(Marker marker) {
        return log.isInfoEnabled(marker);
    }

    public static void info(Marker marker, String s) {
        log.info(marker, s);
    }

    public static void info(Marker marker, String s, Object o) {
        log.info(marker, s, o);
    }

    public static void info(Marker marker, String s, Object o, Object o1) {
        log.info(marker, s, o, o1);
    }

    public static void info(Marker marker, String s, Object... objects) {
        log.info(marker, s, objects);
    }

    public static void info(Marker marker, String s, Throwable throwable) {
        log.info(marker, s, throwable);
    }

    public static boolean isWarnEnabled() {
        return log.isWarnEnabled();
    }

    public static void warn(String s) {
        log.warn(s);
    }

    public static void warn(String s, Object o) {
        log.warn(s, o);
    }

    public static void warn(String s, Object... objects) {
        log.warn(s, objects);
    }

    public static void warn(String s, Object o, Object o1) {
        log.warn(s, o, o1);
    }

    public static void warn(String s, Throwable throwable) {
        log.warn(s, throwable);
    }

    public static boolean isWarnEnabled(Marker marker) {
        return log.isWarnEnabled(marker);
    }

    public static void warn(Marker marker, String s) {
        log.warn(marker, s);
    }

    public static void warn(Marker marker, String s, Object o) {
        log.warn(marker, s, o);
    }

    public static void warn(Marker marker, String s, Object o, Object o1) {
        log.warn(marker, s, o, o1);
    }

    public static void warn(Marker marker, String s, Object... objects) {
        log.warn(marker, s, objects);
    }

    public static void warn(Marker marker, String s, Throwable throwable) {
        log.warn(marker, s, throwable);
    }

    public static boolean isErrorEnabled() {
        return log.isErrorEnabled();
    }

    public static void error(String s) {
        log.error(s);
    }

    public static void error(String s, Object o) {
        log.error(s, o);
    }

    public static void error(String s, Object o, Object o1) {
        log.error(s, o, o1);
    }

    public static void error(String s, Object... objects) {
        log.error(s, objects);
    }

    public static void error(String s, Throwable throwable) {
        log.error(s, throwable);
    }

    public static boolean isErrorEnabled(Marker marker) {
        return log.isErrorEnabled(marker);
    }

    public static void error(Marker marker, String s) {
        log.error(marker, s);
    }

    public static void error(Marker marker, String s, Object o) {
        log.error(marker, s, o);
    }

    public static void error(Marker marker, String s, Object o, Object o1) {
        log.error(marker, s, o, o1);
    }

    public static void error(Marker marker, String s, Object... objects) {
        log.error(marker, s, objects);
    }

    public static void error(Marker marker, String s, Throwable throwable) {
        log.error(marker, s, throwable);
    }
}
